package com.peza.homecontrol.domain;

import java.util.ArrayList;
import java.util.List;

public class Scenario {

	private long id;
	
	private List<Switch> events = new ArrayList<Switch>();
	
	private Boolean active;
	
	public Scenario() {
		
	}

	public Scenario(long id, EventJob timer, List<Switch> events) {
		this.id = id;
		this.events = events;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public List<Switch> getEvents() {
		return events;
	}

	public void setEvents(List<Switch> events) {
		this.events = events;
	}

	public Boolean isActive() {
		return active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}
	
	public void addEvent(Switch event){
		events.add(event);
	}
	
}
